package lxs.tool.liberator.system.config;

public class DbHolder {
    private static final ThreadLocal<String> dataSourceKey = new ThreadLocal<>();

    public static void set(String name) {
        dataSourceKey.set(name);
    }

    public static String get() {
        return dataSourceKey.get();
    }

    public static void remove() {
        dataSourceKey.remove();
    }
}
